package com.easy.carpanel.uart;

public class uartJni {
    static {
        System.loadLibrary("uart_phx");
    }

    public static native int open(String name, int baud);
    public static native int close(int fd);
    public static native int read(int fd, byte[] buf, int len);
    public static native int write(int fd, byte[] buf, int len);

}
